package cn.player.media.entity;

import java.io.Serializable;

/**
 * 用来控制直播是否显示标清和自适应播放
 * @author zengliang
 *
 */
public class LivePolicy implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String channel;
	private String lb;
	private String db;//码率自适应模式，Const.CLOSE 关闭，Const.OPEN 开启
	private String sd;//码率标清模式 Const.CLOSE 关闭，Const.OPEN 开启
	private String dbandroid;
	
	//暂时还没有用到，注释掉减少内存占用
//	private List<String> lb_area;
//	private List<String> db_area;
//	private List<String> multi_area;
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getLb() {
		return lb;
	}
	public void setLb(String lb) {
		this.lb = lb;
	}
	/**
	 * 直播码率自适应模式是否开启
	 * @return Const.CLOSE 关闭，Const.OPEN 开启
	 */
	public String getDb() {
		return db;
	}
	public void setDb(String db) {
		this.db = db;
	}
	/**
	 * 直播码率标清模式是否开启
	 * @return Const.CLOSE 关闭，Const.OPEN 开启
	 */
	public String getSd() {
		return sd;
	}
	public void setSd(String sd) {
		this.sd = sd;
	}
	public String getDbandroid() {
		return dbandroid;
	}
	public void setDbandroid(String dbandroid) {
		this.dbandroid = dbandroid;
	}
	
/*	public List<String> getLb_area() {
		return lb_area;
	}
	public void setLb_area(List<String> lb_area) {
		this.lb_area = lb_area;
	}
	public List<String> getDb_area() {
		return db_area;
	}
	public void setDb_area(List<String> db_area) {
		this.db_area = db_area;
	}
	public List<String> getMulti_area() {
		return multi_area;
	}
	public void setMulti_area(List<String> multi_area) {
		this.multi_area = multi_area;
	}
	
	public void clear(){
		if(lb_area != null){
			lb_area.clear();
		}
		if(db_area != null){
			db_area.clear();
		}
		if(multi_area != null){
			multi_area.clear();
		}
	}*/
}
